package com.swinw.asumall.product.vo;

import com.swinw.asumall.product.entity.SkuImagesEntity;
import com.swinw.asumall.product.entity.SkuInfoEntity;
import com.swinw.asumall.product.entity.SpuInfoDescEntity;
import lombok.Data;
import lombok.ToString;

import java.util.List;
@ToString
@Data
public class SkuItemVo {
    //1、sku基本信息
    SkuInfoEntity skuInfoEntity;
    //2、sku图片信息
    List<SkuImagesEntity> images;
    //3、spu销售属性组合
    List<ItemSaleAttrsVo> saleAttr;
    //4、spu介绍
    SpuInfoDescEntity spuInfoDescEntity;
    //5、spu的规格参数信息
    List<SpuItemAttrGroupVo> groupAttrs;

    //6、是否有库存，默认都有库存
    private Boolean hotStock = true;
}
